package com.ldy.gen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商户信息表
 * </p>
 *
 * @author ldy
 * @since 2023-09-29 15:02:29
 */
@Getter
@Setter
@TableName("business_info")
@ApiModel(value = "BusinessInfo对象", description = "商户信息表")
public class BusinessInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("商户类型id")
    @TableField("bs_type_id")
    private Integer bsTypeId;

    @ApiModelProperty("商户类型名")
    @TableField("bs_type_name")
    private String bsTypeName;

    @ApiModelProperty("商户id")
    @TableField("bs_id")
    private Long bsId;

    @ApiModelProperty("商户名称")
    @TableField("bs_name")
    private String bsName;

    @ApiModelProperty("法人姓名")
    @TableField("le_name")
    private String leName;

    @ApiModelProperty("商户经营类别id")
    @TableField("bs_category_id")
    private Integer bsCategoryId;

    @ApiModelProperty("商户经营类别名")
    @TableField("bs_category_name")
    private String bsCategoryName;

    @ApiModelProperty("营业执照url")
    @TableField("bs_license_url")
    private String bsLicenseUrl;

    @ApiModelProperty("组织机构代码证")
    @TableField("organization_code")
    private String organizationCode;

    @ApiModelProperty("开户银行")
    @TableField("band")
    private String band;

    @ApiModelProperty("对公银行账户")
    @TableField("bank_account")
    private String bankAccount;

    @ApiModelProperty("营业开始时间")
    @TableField("bs_start_time")
    private LocalDateTime bsStartTime;

    @ApiModelProperty("营业结束时间")
    @TableField("bs_end_time")
    private LocalDateTime bsEndTime;

    @ApiModelProperty("法人手机号")
    @TableField("le_phone")
    private String lePhone;

    @ApiModelProperty("邮箱")
    @TableField("le_email")
    private String leEmail;

    @ApiModelProperty("证件类型")
    @TableField("id_type")
    private String idType;

    @ApiModelProperty("身份证号")
    @TableField("id_card")
    private String idCard;

    @ApiModelProperty("身份证人像正面")
    @TableField("id_card_front")
    private String idCardFront;

    @ApiModelProperty("身份证人像反面")
    @TableField("id_card_back")
    private String idCardBack;

    @ApiModelProperty("证件有效期(开始)")
    @TableField("id_card_start")
    private LocalDateTime idCardStart;

    @ApiModelProperty("证件有效期(结束)")
    @TableField("id_card_end")
    private LocalDateTime idCardEnd;

    @ApiModelProperty("审核用户id")
    @TableField("reviewed_admin_user_id")
    private Long reviewedAdminUserId;

    @ApiModelProperty("审核人")
    @TableField("reviewed_by")
    private String reviewedBy;

    @ApiModelProperty("审核时间")
    @TableField("reviewed_time")
    private LocalDateTime reviewedTime;

    @ApiModelProperty("商户状态，1表示通过，0表示未通过")
    @TableField("status")
    private Boolean status;

    @ApiModelProperty("是否启用，1表示启用，0表示禁用")
    @TableField("enabled")
    private Boolean enabled;

    @ApiModelProperty("数据创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("数据最后修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("数据创建者")
    @TableField("creator")
    private String creator;

    @ApiModelProperty("数据更新者")
    @TableField("updater")
    private String updater;


}
